package com.example.demo.Controller;

import com.example.demo.Service.UserService;
import com.example.demo.model.Userinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RequestMapping("/user")
@RestController
public class UserController {

    @Autowired
    private UserService userService;
//    @RequestMapping("/queryUserinfos")
//    public List<Userinfo> queryUserinfos() {
//         return userService.queryUserInfos();
//    }
}
